import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
// import fastclick from "fastclick";
import VueLazyload from "vue-lazyload";
import Vant from "vant";
import "vant/lib/index.css";
import "@/common/js/flexible.js";
import "@/common/scss/index.scss";
import Exif from "exif-js";
import api from "@/api/api.js";

Vue.prototype.$api = api;
Vue.config.productionTip = false;
Vue.use(Exif);
Vue.prototype.Exif = Exif;

// fastclick.attach(document.body);

Vue.use(Vant);

Vue.use(VueLazyload, {
    loading: require("@/assets/logo.png"),
});

const vueer = new Vue({
    router,
    store,
    render: (h) => h(App),
}).$mount("#app");

window.$vue = vueer;
